<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p class="moive">
        导演: 陈凯歌 Kaige Chen&nbsp;&nbsp;&nbsp;主演: 张国荣 Leslie Cheung / 张丰毅 Fengyi Zha...<br>
        1993&nbsp;/&nbsp;中国大陆&nbsp;/&nbsp;剧情 爱情 同性
    </p>
    <script>
        var p = document.querySelector("p");
        var arr = p.innerHTML.trim().replace(/\&nbsp;/g,"").split("<br>")[1].trim().split("/");
        var last = arr[arr.length-1].split(" ")
        var res = [];
        for(var i = 0;i<arr.length-1;i++){
            res.push(arr[i])
        }
        res.push(...last)
        console.log(res)
    </script>
</body>
</html>